package com.unisal.teste;

import com.unisal.java.ForecastDisplayWithObservable;
import com.unisal.java.MostraCondicoesAtuaisWithObservable;
import com.unisal.java.MostraEstatisticasWithObservable;
import com.unisal.java.WeatherDataWithObservable;

public class EstacaoMetereologicaWithObservable {

	public static void main(String[] args) {
		WeatherDataWithObservable weatherData = new WeatherDataWithObservable(); 

		@SuppressWarnings("unused")
		MostraCondicoesAtuaisWithObservable mostraCondicoes    = new MostraCondicoesAtuaisWithObservable(weatherData);
		
		@SuppressWarnings("unused")
		MostraEstatisticasWithObservable    mostraEstatisticas = new MostraEstatisticasWithObservable(weatherData);
		
		@SuppressWarnings("unused")
		ForecastDisplayWithObservable  forecastDisplay = new ForecastDisplayWithObservable(weatherData);
		
		weatherData.setMedicoes(80.0, 65.0, 30.4);
		weatherData.setMedicoes(82.0, 70.0, 29.2);
		weatherData.setMedicoes(78.0, 90.0, 29.2);
	}

}
